package com.my.client.handler;

import com.my.client.util.FormMap;
import com.my.client.util.ResultMap;

public class SearchHandler extends MyHandler{

	@Override
	public void handler(FormMap formMap) {
		String val = formMap.get("search");
		this.getService().search(val,this);
	}

	@Override
	public void processResult(String result, ResultMap resultMap) {
		resultMap.put("result",result);
	}

}
